﻿#pragma once
#include "window/win32/ssWin32Msg.h"
#include "GameWorld.h"

using namespace StarSeeker;

class CMainWorld : public StarSeeker::ssWin32Message
{
public:
	CMainWorld(void);
	~CMainWorld(void);
	void Render();
protected:
	//消息处理
	virtual void OnClose();
	virtual void OnLButtonDown(int x, int y, unsigned int state);
	virtual void OnRButtonDown(int x, int y, unsigned int state);
	virtual void OnKeyDown(unsigned int key);
	virtual void OnKeyUp(unsigned int key);
	virtual void OnMouseMove(int x, int y, unsigned int state);
	virtual void OnMouseWheel(short wheel, unsigned int state);

	POINT						m_RLastPoint;
	POINT						m_LLastPoint;
	GameWorld					m_gameWorld;
};
